fixed issue with saving block layouts with items that have a file