Fix MapStore.save always false "known" return variable

Closes #162.
Includes testcase.