The current behavior of logging to a file in the same directory as the binary will break if the binary does not have write access to that directory. Fixes Issue #139 Change-Id: I11adfaec676fc9bbef2a5caa3261889d1fba3b88