A simpler idea might be to put all your files in a .zip and simply rename the .zip to .dat.
That has other perks of being more easily editable, having a directory tree, being able to compress files that aren't already compressed (if you want to throw in things that aren't pngs), etc, etc.