Fixes: Avoid buffer overflow in mono print handler for large strings
