Do not create Photo objects for non-photo files when uploading albums Closes #511 See merge request !577