use '.py' suffix in a temporary file for pylint.

otherwise pylint-1.2.0 seems not working.