Apply @farnoy's fix to syncfs also.