Patches welcome, I think this is reasonable, but `sscanf` is endemic in CFEngine and changing parsing is risky business.  I'm definitely not the one to do it.