Small fixups for compatibility.
The python script receive_nii.py saves images sent via the openheader
protocol.