Change to vfs API. POSIX states fsync should return an int, not a void.