Update srf3.py

Errors removed with file srf.dat opened in 'r+' mode