Fixed a pwrite test.