clean rockstat.py file