Fix compilation under ARC
Tweak ivar handling to quieten false ARC warning
Fix error mishandling spotted by static analyzer
correct comment
Factor out -createPackageDirectoriesAtURL:…
Create directories only when expecting to