Ripped from Raise and py-findlib.
Added missing osinfo module.