Treat paths that begin with tilde "~" as absolute paths instead of relative.

Fixes #898