restore getBytes(String) for backwards compat