Change uid by Puppet execution API

Inspired by #136