FileInputStream: Fix FD leak when opening a dir.

We should close the underlying file before we throw an
exception.

bug: 25695227

Change-Id: Ia121184968192147fb3b95c30eb855194b692b37
2 files changed