Use older (9.5.4-friendly) method for opening files.
Merge pull request #25 from mmccurdy07/master

Fix file opening for older servers.