preventing new tab opening on download

Tested on IE8, Chrome, Firefox with:
 * CSV
 * Shapefile

#600