Fix NumPy loadtxt wrapper arguments.

The NumPy loadtxt keyword is called 'ndmin', not 'ndlim', so this
wrapper is used even in the new versions.
Use a non-empty array for testing np.loadtxt.

An empty array causes a warning from NumPy, and the result doesn't
really matter anyway.
Merge pull request #818 from QuLogic/fix-loadtxt-shim

Fix loadtxt shim