S_IREAD and S_IWRITE are replaced with S_IRUSR and S_IWUSR.

S_IREAD and S_IWRITE are no more available on Android.