Make stripLeadingSlash not reject relative paths
Convert paths in _spawn