Added mkdir to CCFile
create directory first before writing images
CCStorage improvements