Support for overriding how download url is get for dragonfly attachment