rhosimulator/macosx: File API fixed