Fix for #178

Path operations were doing funny things with normalization if it wasn't a unix-like path.

Fixes #178.