Dynamic Fsync 2.0

While the screen is on, will defer file sync temporarily

but when screen gets turned off, a flush is called to synchronize all outstanding writes keeping your data safe.