Switched from open to File.open when doing local system calls.

open-uri was getting used even though it wasn't necessary.