treat encoding error as io error, close file
diff --git a/loggy.py b/loggy.py
index a77eb8c..6378183 100644
--- a/loggy.py
+++ b/loggy.py
@@ -276,9 +276,7 @@
                         rd += len(line)
                         data += line
                 self.parse_line(path, data)
-            except UnicodeDecodeError:
-                pass  # Couldn't decipher this line, ignore it.
-            except IOError:
+            except (IOError, UnicodeDecodeError):
                 try:
                     self.file_handles[path].close()
                 except IOError: