variableStep and fixedStep are two types of wiggle formats. In variableStep you will have each line with different size (step) whereas in fixedStep each line will be of same width. So there won't be coordinates in fixedStep (Refer: http://genome.ucsc.edu/goldenpath/help/wiggle.html). But if you think your variableStep file is having same step size all over the file then its small awk one liner work only (I can write you the script if this is the case if you could show head of the file). But if the file is really having variable steps then it is difficult to convert, you might have to generate wig file again in fixedStep format.
no my variableStep file have not exactly the same step size all over the file. all regions with zero score are removed. here is an exemple of this file :
Try the following perl script that I wrote a while ago for mouse mm9, I use it all the time. If you want to convert to mm10 then you can change the chr lengths
#!/usr/bin/perl
use strict;
open(INFILE,"@ARGV[0]") or die "could not open @ARGV[0] for reading";
@ARGV[0]=~m/(.*)\./;
my $filename=$1."_fixed.wig";
my $expname=$1;
my @filenames=split(/\//,$expname);
my $size=@filenames;
$expname=@filenames[$size-1];
print "\n\n@ARGV[0]\n\n$filename\n\n";
open(OUTFILE,">$filename") or die "could not open $filename for writing";