changing extension rdoc to md