Make sync BerkeleyStorage really write synchronous to disk