Fix bug where image wasn't being downloaded from cloud files