Handle potential "IOError" exceptions related to "foundations.common.foundations.common.isBinaryFile" definition usage when accessing a locked file.

Closes #68.