Is it possible to get a collision here? If there's no options cache and two clients both make a request at the same time, will two calls to this code result in errors, or maybe a mangled file? Might be safest to use a lock file on it....