Added code to store content of tar file in the resulting image