Small changes to read, zread, fread and read_long