Updated spotter.py to use errno constants instead of ints.