uspfix.py -- added up-front test for write access.

Stops script crashing after an age.
Merge branch 'master' of github.com:trmrsh/trm-ultracam

Wanted to bring mine into line with remote because of an update to uspfix.py
I wanted to push