support root dir tgz request
need to transfer Buffer to bytes array until we use socket.io 1.0.0
Merge branch 'master' into tgz-root-dir
Merge branch 'tgz-root-dir'