Add user-specified file patterns for the exporter

Make the exporter code more general by allowing the user to specify their own
regex for matching files to upload. We can then re-use this for uploading the
"incoming" log files produced by the node server.