use syncfs instead of sync