Preallocates physical space for at least length bytes.
length
macOS uses F_PREALLOCATE; the default extends the file with truncate, which may zero-fill.
F_PREALLOCATE
void preallocate(int length) => truncate(length);