Fix reading zero bytes after unget