Issue 9827 - Emit better diagnostic on duplicate files in command-line

http://d.puremagic.com/issues/show_bug.cgi?id=9827