Add method to satisfy io.Closer interface. Thanks to Dustin Spicuzza (@virtuald) for contributing this in #21.