BugFix missing $item on 'file_target' Line 1911

I think this should be right!

Backport of e70a7af6da7108982c46ae8759f70dd490274c36 from master