Explicitly disallow paths with whitespace

It didn't work anyway even before this commit.

Workarounds #490.