Allow loading/saving images using the native windows apis