Fix to #154 - Group and profile pic not uploading on Firefox

I seems on Firefox a File object doesn't have an "own property" so I changed it to look for an image.