Use an fprintf for error output in initialisation