Fix toBase64 bitmap conversion

See if we precise file format further…