mem_arena: Replace insecure temporary file creation with devshm, importing Dolphin’s code.
Merge pull request #48 from linkmauve/master

Replace insecure temporary file creation with devshm.