import Jimmy's version from stat
Merge pull request #1 from kjetilho/munin2-fixes-from-jo

import Jimmy's version from stat