Avoid escaping paths multiple times on every save attempt