Allow config through transformFilename

I wanted to use String#replace on my filenames, but couldn't. Instead of starting a new plugin, I decided to make this one more configurable.

Let me know what you think!