fixed uploaded file extension