fixing django bug--some calls can throw before self.stderr is set