When running the python client within a Lambda the default synapseCache location in /home is not writable and can cause errors, e.g.
We should detect running in a Lambda and handle this appropriately (possibly looking for an AWS environment variable e.g. AWS_EXECUTION_ENV and locate the cache in /tmp).