Update twitterstatus.py

fixed exception for creating status file