s3-copy: handle a bunch of open files