Made changes to arghandle.py

There were some repetitive checks before calling de.write()