Support outputting to multiple files

Closes #14.
Fix incorrect spacing in environments

Closes #13.
Merge branch 'multitarget'
Bump version to 1.3