- Renamed set_perms() to set_file_attrs().