/* Write the value of a single file. * Returns -err on failure. */