[[ Bug 12668 ]] Make sure file handle is always closed in MCS_loadfile on Mac.
Merge branch 'bugfix-12668' into release-6.6.3