Wrap fopen()/fopen_s() calls to avoid duplication
Merge pull request #196 from Dmitry-Me/wrapFopenCalls

Wrap fopen()/fopen_s() calls to avoid duplication