Fix static exporter to export URLs properly

I have no clue how this was ever working before now.