Implement new standard of (osimage)/md5sum

And maintain a compatibility with the old md5sum.ast