update fgddem.py
write values with Band.WriteRaster() instead of WriteArray()
to avoid crash that occurs at the end of execution (OSGeo4W)
v0.12