Fix the file paths in the database after moving the files directory.