Use sys.stdout.buffer to write vault bytes to stdout on py3 (#23760)
Use sys.stdout.buffer to write vault bytes to stdout on py3 (#23760)

* Use sys.stdout.buffer to write vault bytes to stdout on py3

We need sys.stdout.buffer on py3 so we can write bytes to it since the plaintext
of the vaulted object could be anything/binary/etc

Before, attempting to write bytes to stdout on py3 would cause:

  TypeError: write() argument must be str, not bytes


thaim/ansible,thaim/ansible