Fixes zedapp/zed#424
Now keeps owners and permissions of original file.
Ping protocol for new editor socket