Escaping paths in generated files