fixed filename's extension (was being sent always as a ".svg", must consider passed outputType [png | svg | pdf ]); outputType's value is already being validated 3 lines above (OutputType.parse(outputType))