fix for too long file name issue

Hi,

i run into issues if we import a lot of things.
I get the Could not normalize path for file -> File name too long error. 

This commit fix this issue.