Checks that upgrade_files is writable