Close file handle when user wants to stop reading

The documentation states:

    If the callback returns false, reading will stop and the file will be closed.
Merge pull request #12 from mattcg/patch-1

Close file handle when user wants to stop reading