heroku seems to swallow stderr so write everything to stdout