Clean up after write/pwrite tests