add glob support for pkg.output

spmjs/spm#848