provisioner/{shell,file}: use common for config decoding