Improve uploaded files handling when using the command line converter