glucometer: add support for selecting output units on dump.
Add utf-8 encoding specification to all files.