escape #'s in paths