arbitrary output formats

@jsutterfield @drsnyder 
https://wikia-inc.atlassian.net/browse/PLATFORM-381
Just tried this, I was unable to get any shell injection attacks to work. Everything was escaped into the convert command as expected. That said, though, there's no harm in adding some sanity checks, so I'll do that.