Fix docker_image archive features to work with Python 3
Fix docker_image archive features to work with Python 3

Without binary mode, ansible shows a "write() argument must be str,
not bytes" error when using Python 3.

thaim/ansible,thaim/ansible