Changed to apache-2.0 license.
encoding for writing to less subproc