Python 3 support for dev server.

Change-Id: I16f364159200ff871075a490d69ba26d580c40aa