Add toAnsiString method to Canvas and Image, only enabled when compiled with libcaca