Get rid of potential whitespace in paths