Do not add folders to the EXTEMCONF _md5_values_when_last_written array

It looks like the t3x stream sometimes has also folders in his
$extensionData['FILES'] array.
To prevent that these folders are add to the _md5_values_when_last_written
array in the extemconf we check if the "file" is a foldern and then
ignore it.