Use iostream for saving GL program binary. Also check for GL_NUM_PROGRAM_BINARY_FORMATS > 0.
Merge pull request #729 from mapbox/shader-iostream

Use iostream for saving GL program binary + check GL_NUM_PROGRAM_BINARY_FORMATS  > 0
Extensible GL extension support