Add ':' to escaped characters in relativePath.