Remove whitespaces from paths.