Correctly suffix stdout logfile name with 'stdout' string.