fix Issue 10290 DMD with -m64 doesn't append .exe to -of option

See the issue:
http://d.puremagic.com/issues/show_bug.cgi?id=10290

Still a novice in DMD development - how do I make a test case for this?