Format scripts with autopep8.

This makes formatting more consistent and follows Python standards
and guidelines.