Fix SdFile::read(buf, n)