Escape input and output path of convert command