venti/copy: fix bug writing directories that zero truncate

Found by nwf.

TBR=rsc
https://codereview.appspot.com/162860045
2 files changed