Split creation of publication and uploading of attachment.
Split creation of publication and uploading of attachment.

It's taking to long to tear down the data and reupload it all if
the script fails. It's going to be faster to generate all the local
data at once, and then go through the attachment loading one at a
time.

askl56/whitehall,askl56/whitehall,askl56/whitehall,ggoral/whitehall,hotvulcan/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,alphagov/whitehall,alphagov/whitehall,hotvulcan/whitehall,ggoral/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,alphagov/whitehall,robinwhittleton/whitehall