Added wrapper-as-function

Wrapper may be a function invoked for every file taking filepath and options as args, and returning a 2-element array (as currently).

I wanted to generate a prefix/suffix derived from the filepath, and this lets anyone do arbitrarily complicated things like this, as well as leaving the default functionality for global prefix/suffix (as before).