Add folder chooser for file location preference.

Fixes #47. Went ahead and made this a custom dialog instead of an activity so that it looks like a standard preference dialog.