find_binary: return bytes when input is bytes