Add null check in MvxBaseFileStore.WriteFileCommon.