Modified save_api method.
Modified save_api method.

JaneliaSciComp/modular_device_python,peterpolidoro/modular_device_python,janelia-modular-devices/modular_device_python,janelia-pypi/modular_device_python