Convert IRandomAccessStream to byte[] or System.IO.Stream