Changed print to stderr call.
Slightly tidier version of making error message up.