added compatibility for SmartOS md5sum