Use home dir function from config

user.Current() isn't implemented on all OS/architectures.