windows: remove 'runtime.SetFinalizer: finalizer already set' error
fix underflow for SetSystemFileCacheSize
Move call to Sync out of test closures
Reconfigure Travis CI to build under Mac OS X