Fixing structure of zipped sql files