Initial commit of file utilities.
Don't use OS_MESA preprocessor macro.