Minor fix for map writer.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>
Merge branch 'master' of github.com:kduske/TrenchBroom