remove isFileClosed() method. Not all hadoop2 versions support this yet.