Update npyio.py

solving Issue #3975