fix reading of TimThumb environment variables from configuration file