Extract and convert bitmaps from Windows icon and cursor files