Added big endian support for nifti (nii) files.

For big endian nifti (both uncompressed and gzipped)