scan_scanf: scan_get_line not quite working with strings with explicit line endings