Replace datetime timezone by the django timezone when register the compacted file into the database.