Fixes a sporadic failure on MacOS under heavy load

In MacOS/camlistore, rsync-ing large files cause cammount to abort.
After some investigation, I noted that err could be nil when len(msg)
had an unexpected value. This patch suppresses the problem and permits
more reliable operation.