Make filenames "safe" before passing to image converters.

Parentheses in the filename were causing issues with the spawn of exiftool.

Change-Id: Ib0bdd7826f425b1b83eb4be89632595eb9bf730c