Python 3: Use six.moves.configparser rather than ConfigParser

This makes the code compatible with both Python 2 and 3.

Change-Id: Idfbfb26c9df4a55d2cfb3f1d020e2787239a61d4