Revert "Reduce number of system calls when loading ini files."  More generic fix coming.

This reverts commit 3a2b32bd53c516264074cc146f801751c1ec889d.
Use buffered I/O (stdio) for local files to reduce system calls.