Task: use a temp file for IPC if mmapping /dev/zero fails

Mmapping /dev/zero is not supported by Mac OS X.