fixes the missing fs-sync