AVRO-1249. Java: Fix DataFileWriter#close() to not throw an exception when called twice.  Contributed by E. Sammer.

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