Fixed: Changing the file directory in the edit form would not move the physical file to its new destination, causing a 404 error. Related to #568