Correctly suffix stdout logfile name with 'stdout' string.

If I start goliath with:

`$ ruby myapp.rb -l mylog.log -dsv`

I expect the stdout logfile to be named `mylog_stdout.log`, and not `mylog.log_stdout.log`, which is the current behaviour.

This PR correctly handles logfile extension to get the stdout file named as expected.