added a close() to check_for_readonly_filesystems