Because my experimentation with ErpNext requires many reinstalls I made a function in my scripts to do that ‘uncode’ to ‘bytes’ thing.