Better filetype handling; write download location as Finder metadata