Updated templates to be compatible with Python 3.

Use lib.utils.input_prompt to use the correct input function.