Add "md" extension to filename