[bug 930127] Call click on the actual DOM element.
[bug 923447] HTML escape uploaded image filename.