fixed asynchronous file reads on iOS by switching from pread to read in fs.c