Update InputWidget.php

if attribute name is smth like "images_hold[]", FileInput widget will be broken, so we need to prepare attribute name.