fix Safari / FF .files traversal. Closes #1
add directories to a set for ignoring