Bash: Mass string replacement with sed