Fix paths with whitespaces.