set_file_type doesn't work as advertised and you don't get file handles
for uploads. This implies that you can't reliably identify if a
parameter is a file upload or not. In particular, if multiple files were
uploaded at the same time, all files get created but you can't delete
extra files as you can't tell apart if the extra parameters might name
an already existing file.