How can I import/export settings into a file?

Hey @pfaffman
I tried exactly as given… ./discourse-settings-uploader https://discourse.example.com d35989078a system site_settings.json

But my script fails and I am not sure why and how.
It gives E! 404 Not Found for every setting