fixed imagemin to recurse down directory hierarchy

Signed-off-by: Martin Evans <martindevans@gmail.com>