unmount now closes the filesystem after unmounting it. Use 'r' in mode since mode might be 'rb'. Rename needs to handle renaming archives (don't redirect through an ArchiveFS).