Update resultswriter.py

You have sys in here twice.