Improved windows path handling support
Added is_restricted() to path