Updated .gitignore
Fixed #4
flush() calls underlying.close()
Bumped version