Fix folder import w/ invalid files.