Handle zero-length streams that contain zero-length files.  refs #3084
Handle empty directories in arv-put.  refs #3087