FLUME-2007. HDFS Sink should check if file is closed and retry if it is not.

(Ted Malaska via Hari Shreedharan)