as_uri takes an OS parameter
Added tests for Win32 files