Fix route to delete a file.