[mapistore-python][sample.py]: Return MAPIStore errors instead of magic values

- Not necessarily a permanent solution - the MAPIStore Python bindings might stop being exposed in the backend at some point