Added Fsync Control

Credits Ezekeel