write Assets
Write assets obtained from the input stream (zip archive) to the session directory. Supports also subdirectories.
TODO: do not extract files outside the session directory for security reasons. TODO: warn about conflicting files
Return
Number of new files created in the session directory.