Saving extracted file to output directory.
Fix bug related with adding bytes after second byte of footer was found.