util: Use util helpers where possible

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>