Fix preparation script after schema change
More information on file uploading errors
Debugging: print detailed SQL result
More robust byte comparison in file validation
Add file validator for ZIP archives