Fix unpacker's handling of the pageloader extension

I was looking up the wrong config variable and putting srdata.js in the
wrong directory. Also, this adds a bit of logging so we can keep track
of things.