Fix null for newline in env vars

Closes #29.