Fix up flood_subst_file implementation so that we compile again on Mac OS X. Also fix up various nits, add licensing blocks, and reformat to better follow coding standards. * flood_subst_file.c, flood_subst_file.h: Misc. fixes.