Let the sync type be configurable.

Useful for setups where getting nfs sync working is a PITA.