Watermarking script works with filenames with spaces