also escape paths when transcoding

references github #5