It took me a while to figure out how to do this, so posting in case anyone else is looking for the same.
sed '/pattern/a\\r' file name
It will add a return after the pattern while g will replace the pattern with a blank line.
g
If a new line (blank) has to be added at end of the file use this:
sed '$a\\r' file name