Update error printing to stderr