Add handy shared functions to Win32Stream