Corrected behaviour if files object is built dynamically
(http://gruntjs.com/configuring-tasks#building-the-files-object-dynamically)
This is useful if one wants to preserve subdirectories.