FLUME-1939. FlumeEventQueue must check if file is open before setting the length of the file

(Hari Shreedharan via Mike Percy)