Fix error: [: too many arguments / when path has spaces