Create asset stamp by reading file in chunks

Because an asset file can be really big, we should avoid reading it into
memory as a whole. We conserve memory by reading it in chunks.