local: Add file ext blacklist (fixes #516).

Adds a new local/scan_blacklist_extensions config value for controlling file
extensions to ignore.