Only open existing files for reading, act II

Same as #42, but with thunky!