Fixes for making sure that the proper return code is used when there are
no more input files.
Updated README