saveToFile not working on Android 4.3

I am currently taking a screenshot of the device and saving it using saveToFile. Problem is on my Galaxy S4 simulator running 4.3 it returns success but the image is never actually saved. If I run the same simulator but using 4.2 it works fine.

Any ideas?

Have you tried using fstreams or C functions like fopen, fwrite?

No I am not sure how that works. Do you have any examples?

I have a feeling its due to this: http://www.androidauthority.com/galaxy-s4-gpe-android-4-3-sd-card-fix-254960/
Trying to get something working on the simulators to test this theory.

It’s from the standard library (#include<fstream>), you can find examples on virtually every site about c++.
The key is to write to the right path: get it with CCFileUtils::getWriteablePath();

My idea is simply to check whether it is a problem with cocos itself or with something else.