Fix count conditionals for "no media" found error messages
Only validate the file object if creating a new Media

* Otherwise, the file object won't exist, since we're just updating
  the metadata of the Media.
Media can now be updated by the uploader.