ENDFILE should create file

If file doesn't exist when ENDFILE is invoked, it should create the
file. Also propagate EOF on unformatted read statements.