add glob support for pkg.output

spmjs/spm#848
改成 ~ 吧