Fixes infinite loop issue on Windows

On Windows, `read_config` will never return because going up the directory tree will never result in '/'. This fix adds this logic.
Fix logic for detecting root directory on Windows.

On Windows, the root directory includes the drive letter and a colon.
Merge pull request #60 from bentsai/patch-1

Fix infinite loop issue on Windows