LAYER: added dxf_layer_write().

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>