Update sprintf string for file type to avoid errors with `-d channel_tag=` being passed as the file name. Seems to be something with the http request syntax.