Memory usage prevent for Image file

Before this PR, if handled file was an image, physic file was always loaded (for Gd manipulation). This, even if we dont' want to use Gd manipulation.

Now, Gd is loaded "on demand" and so prevent memory usage (usefull when you load a lot of files in a request for example :) )