Fix for open file descriptors

Fixing open file descriptors issue as well as adding fileClosed event
passthrough from fileSlicer
Merge pull request #52 from wilsonwc/master

Fix for open file descriptors