Rewrite to use raw debhelper.