Manually write generated .mllib files to avoid line ending problems.