RemoteFileSink's pending messages should consider files

- cleanUp with fetchAll to describe unclosed files
- RemoteFileSink.getNumOfPendingMessages() is returning the number of files not uploaded yet when the number of pending messages in LocalFileSink is 0
Merge pull request #90 from metacret/ISSUE-82

RemoteFileSink's pending messages should consider files