Only parse py files which include cfg|conf in name
Python 3 compatibility.