Fixed Error that prevented NPM install on mac.

NPM spat out a error that there was only 2 params in DGIFOPEN. I added
the third, an error interger.