fix problematic filenames for markdown urls