Fixed bug in production edition that didn't write the correct ID, added error-file-fixer as well