Implement SHPOpen() for reading shapefiles.