Specify transcription is not working for output.

The original problem is that the grammar name is getting truncated.
Specifying by relfile and line number should be enough. There is no way
of grabbing the audio file name directly.