Fix bug with file system paths containing % escapes