I have found the answer. The Java code was placing a java.nio.file.Path object in the parameter map as the filename.
For some reason, this worked when run through Eclipse (and apparently the server) but in Mendix Modeler, it rightfully threw an error as the micro flow was expecting a String.
Thanks to all who looked at this question.