Move images to dropbox root directory when published, with tests (DIL-3373)