windows drive letter fix

Fix issue with paths containing a windows drive letter. Added spec tests.