support for as_user in ParamikoMachine
bug fix for recent encoding refactor