Strip (format-matching) extension of uploaded files