fix Bitmap's object to string conversion

Calling #to_s might not return a string (it should though).