Yes it is safe.
There was a good article on Parent's Place about it. See the link in the right column.
Yes, it is safe. After the fifth month of my wife's pregnancy vaginal sex was out (by her choice). She either performed oral sex on me or I performed anal sex on her.