Switched print >> stderr to more modern stderr.write() form.
Switched print >> stderr to more modern stderr.write().