Fix escaping path bugs.