Fixing the metrics file accross logoff/logon

 * When logging off and logon again, the metrics file
   was stuck with the previous user permissions and hence was never
   updated again. This change fixes the problem.
Merge pull request #79 from KanoComputing/metrics-permission-fix

Fixing the metrics file accross logoff/logon