Fix #11, "Calling sync.pull() after sync.readdir() fails". We forgot to read some bytes.