add 'save to file' ability to memcat