* Opens files as read-only when initializing `NXFile` instances, in order to prevent `h5py` exceptions when other applications, *e.g.*, those not using the `nexusformat` file-locking mechanism, have already opened the file. If `write` mode is requested, it is applied when performing I/O operations.
* Calculates the size of NXfield arrays as 64-bit integers to prevent overflow issues when the NumPy `prod` function uses 32-bit integers. On some systems, this has caused large arrays to be loaded into memory inadvertently.