Create local copy of file. Fixes https://github.com/josteink/wsd-mode/issues/4