Fix nameing issue of blob download
Fix external file renaming
Fix error output not logged issue
Fix binary file downloading
Update file header