bring set_conffile into the Phase class

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>