Fixing Role.update_file regarding behaviour with owner/sudo