Extended the write tool to support creation of shapes as is.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>