Version bump (0.3.0).
Use Pathname class to check for root.

* Correctly finds root path on Windows and UNIX operating systems.