Fixed #3 -- Protect against Windows path separators.

Thanks to @khoobks for the report.