Copy on write RAM-based file system in python