Updates to file handling

* Much better regexp pattern for filename matching. Supports double-byte characters and local file paths.
* Support for case-insensitive filename extensions

Updated docs and lib.
Minor fix to pattern, and removal of superfluous lowercase call. Updated docs and lib.

Signed-off-by: Lanny McNie <lanny@gskinner.com>