Always encode file data from powershell, and add more detail to SafeCLI retry-failure exception message.