Fix compatibility for Numpy 1.9 by not relying on Numpy for the File API
Merge pull request #2705 from mdboom/fix-numpy-1.9

Build fails on OS X with NumPy 1.9