made do_backtrace an env function that uses errfile #201

fixes #201
Merge branch 'backtrace-errfile' into releases/tokumx-1.4