How to fix this?

Rails generates code like this:
<link href="/stylesheets/qiushi_handheld_style.css?1179405951"
media="handheld" rel="Stylesheet" type="text/css" />
<script src="/javascripts/prototype.js?1179405295" type="text/
javascript"></script>

This code do not work properly in IE6. I want to change the code like
this:
<link href="/stylesheets/qiushi_handheld_style.css?1179405951.css"
media="handheld" rel="Stylesheet" type="text/css" />
<script src="/javascripts/prototype.js?1179405295.js" type="text/
javascript"></script>

How? Thanks.