Merge pull request #195 from bjackman/fix-logcat-logfile

LogcatMonitor: Fix opening logfile for write
diff --git a/devlib/utils/android.py b/devlib/utils/android.py
index 318b4d0..14cb253 100644
--- a/devlib/utils/android.py
+++ b/devlib/utils/android.py
@@ -575,7 +575,7 @@
         :type outfile: str
         """
         if outfile:
-            self._logfile = open(outfile)
+            self._logfile = open(outfile, 'w')
         else:
             self._logfile = tempfile.NamedTemporaryFile()