non-native support for tilde in paths