[enh] read() strips the nullbite and all whitespace