Improve import rake task

Improves the generated markdown for some code blocks by
changing the nesting order from <code><pre> to <pre><code>.