Fix hard-coded home directory

Perhaps user home directories aren't under /home. Use Dir.home on Ruby 1.9 to find it.