[openvz] Fixes #1871 test helper callback

This moves the setting up of an `at_exit` callback from when the file
is required to when the matching helper is used.

This prevents it failing on any run where OpenVZ is excluded.
Merge pull request #1872 from fog/fix_openvz_global_callback

[openvz] Fixes #1871 test helper callback