Make it work over TRAMP

Fixes #7