Fix problems in phpthumbof with imagemagick path