update fgddem.py (v.0.5)

- revert abf152b
- use Band.WriteRaster instead of Band.WriteArray
- clean up