Make it work over TRAMP

Fixes #7
Merge pull request #9 from Silex/master

Make it work over TRAMP