Fix some leftover escaping
Open IPC file early to prevent mountpoint interference