Showing file that has sent headers if cannot start session

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