quote build_env vars

 - quote all env vars going into /tmp/env
 - unit test this crap

closes #837