wront path 
Imo this is a wrong path  

```php
sprintf('%s/www/custom/feed_%d.jpg', $app['root.path'], $feed->getId());
```