Fixes output filename sufix