Fix  shared access flags XFile::Open

Make sure XFile::Open doesn't fail when trying to open files currently
in use by another process.