Fix issue #4. Expand tilde.