normalizing line endings
Fix bug where the root path wasn't being supplied to the DirectoryInfo class

This was found while updating to TypeScript 0.9.1.1 and looks to be the
cause of https://github.com/projectkudu/kudu/issues/752 as all deploy
issues seem to go away when this is in place.