blocks: fix file meta data source to handle repeat of files.
Merge branch 'maint' into maint-wxgui