Fixed a extensions of the uploaded file