tools: Fix missing FD close()

Change-Id: Ia244931d2bf634d037e2319e11b477a77898826a
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/tools/bt.cpp b/tools/bt.cpp
index eeac686..7f88517 100644
--- a/tools/bt.cpp
+++ b/tools/bt.cpp
@@ -21,6 +21,7 @@
     if (fileSize == 0)
     {
         std::fprintf(stderr, "Zero-length file, or other file access error\n");
+        sys->close(inputFd);
         return false;
     }
 
diff --git a/tools/lpc.cpp b/tools/lpc.cpp
index 2a65379..4f8e441 100644
--- a/tools/lpc.cpp
+++ b/tools/lpc.cpp
@@ -108,6 +108,7 @@
     if (fileSize == 0)
     {
         std::fprintf(stderr, "Zero-length file, or other file access error\n");
+        sys->close(inputFd);
         return false;
     }