python print to stderr and exit