print trailing new line on stderr instead of stdin