[action] adjust fileType/fileFormat to uploaded file extension

This is only when form is "pristine", i.e. user didn't set file
type/format/lang by hand.
parent 94083247
Pipeline #7163 passed with stages
in 17 minutes and 49 seconds