Issue #1044670 by rfay: Fix broken file access issues (which was a severe problem...