Fix the output file path stored in the db.