Fix warning with binary getBytes