Fix dev-file.c for android

Android don't have S_IREAD and S_IWRITE
Make the S_IREAD/S_WRITE comment slightly more specific