handles tif-to-jp2 with filenames containing spaces.