fix error detection (new django-pipline uses stderr for that)