Bugfix for output filename fix

Getting tired :( Forgot to change header.