write_pyDarwinOptions function

Write pyDarwin options to a JSON file.