nginx http filter module for dynamically resizing gifs with ImageMagick