change dirnames for rtfd