Fix type bug

Type gauge or counter is used in LibratoWriter but it was never set
Merge pull request #72 from farnulfo/fix-type

Fix type bug