r23508: Fix sync_file() to return NTSTATUS and return this