handle paths with spaces, fixes #21