blocks: fix for ~file_source crash, Bug #550