Ack @offby1.
Handle Windows better, I think.
Use `simplify-path`.

Fixes issue #1.