Implement a version of bitmap loading/saving for WinRT
Fix a compiler warning