Safety is very relative. There are many people who have go to India and come back successfully in their OPT. Also, there are many cases, where they have been stuck with issues. So, it is relative.
In general, having all documentation helps, but we do not know what the CBP officer thinks. If you can avoid, just avoid travel. If you have to go for sure, then take a chance and go.