0005257: profile picture upload glitch - Determines real file type irrespective of the extension provided