Revert "Optimizations to fsync from Chad Goodman"

This reverts commit 5b9dab22a26d7d3186952fb22faf612fd247d7b4.
Revert "Makefile: add optimization flags to makefile -markj338"

This reverts commit 179ca39a2ddc94bf5536ba1db3210bcf356b2b50.