Remove useless ". " appended to any directory left over