I think this will error if the file already exists in the image so maybe we should see if the err is os.IsExists and ignore it?