Use f_write_end instead of literal string
Merge branch 'roachmantis' of git://github.com/project8/mantis into roachmantis