Close files to prevent dangling descriptors.
Allow 8.0
Move to byte vs character offset to fix files with non-ascii characters.
Fix typo, update example image
Merge pull request #2 from traviscline/master

Update for Komodo 8