`expanduser` also needs `os`

Providing HOME is another way, e.g. through a constant and the templating functionality, is for later.