Quick and dirty config helper
Code is from https://github.com/jpf/Twilio-TFA/blob/master/konfig.py
Modified to be more adjustable.