heart.rb `after_install`: list form of `system`

use safer list form of `system` and simplify quoting
Merge pull request #3321 from rolandwalker/heart_after_install

heart.rb `after_install`: list form of `system`