Fix markdown files not getting extension changed when publishing