Move Windows unicode read-code into the OS specific layer