BFS: Write lock in CreateFileCacheAndMapIfNeeded() when needed.

When the Inode is just being opened it is not write locked so this has
to be done before setting the file cache and map. In the create case
the Inode is already write locked and we can directly set the fields.