This reverts commit e30e4d4b1e. I suspect this was a side effect of using Python 3 rather than an issue in Ansible 2.4.0.0.
e30e4d4b1e