commented out fseek and fflush in write

This passes all but the append test on my machine. Do you want to give it a shot and see if it works on your mac? 

Maybe we don't need to flush for this one.
What does the buf look like after pwrite?

`fprintf(stderr, "Buf: %s\n", buf)`

You should be able to see this in debug mode