Fixed folder creation on image save.