Use stderr for error messages

This way build systems can stop if an error occurs down the pipes.