#614 Fixed media file delete.