Add newline as terminator for fscanf