Convert backtick commands to Cask::SystemCommand.run

Closes #4971