Initial Dropbox refactoring in preparation for Dropbox syncer

This is a first-step commit in preparation for adding Dropbox sync https://github.com/meskyanichi/backup-features/issues/13