If cannot start session due to already-sent headers, show the file and line that have sent them

If session cannot be started because of already-sent headers, show the file and line from which the output has been started.