Fix EZP-20505: Additional check for empty fileName on field template.