chrome在跨域的情况下不支持download属性，于是用xhr做了个work around
Merge pull request #16 from spacewander/master

chrome在跨域的情况下不支持download属性，于是用xhr做了个work around