AVRO-1388. Java: Add fsync support to DataFileWriter.  Contributed by Hari Shreedharan.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1539765 13f79535-47bb-0310-9956-ffa450edef68