quote paths when running image magic commands