For some reason Python doesn't expand `~` by default.