Fixed homedir expansion.