config-overwrite: fix dir name escaping