Fsync directory when files are changed

Related to ZooKeeper issues : 
https://issues.apache.org/jira/browse/ZOOKEEPER-2003