This is just trying to replace spaces right? I don't think you need to escape `\` the space, am I missing something?