Fixed some file handling problems in casapy-helper.py. Introduced the globals files and spw, which isn't
ideal, but which should work ok for the moment.