avoiding unneccessary gsub as pointed here https://github.com/phinze/homebrew-cask/pull/2523#issuecomment-32834583