Fix the read functions not taking bytes as valid input