Fix bug for paths w/ spaces