Fixed forgotten debugging in file writing, added file handler close for good measure

Added availfile.close(), changed writing to "test.txt" to the "available-skype.txt" created at line 56. Last night was a long night, went from 15-second checks with no proxy to 3-4 second checks with Tor. Went to sleep without even checking if file-writing worked.