Set safe mode in subshell.

This will make debugging via sourcing easier.