It's never as simple as "remove chr-prefix with a script". That doesn't make sense, because sometimes it really is that simple. There have been plenty of occasions where a simple find/replace is all I've needed to do to get a BED file working in tandem with a BAM file in a downstream-analysis step (after ensuring I was indeed working from the same reference).
My pedantry aside, the info you provided was very useful.
The GATK bundle has what you need
Is there a reason why you wanna bypass something as simple as a
sed 's/chr//g' ucsc.hg19.fa >ucsc.hg19.nochr.fa?I think that just simply excluding of 'chr' would make any problem later for processing.
and I also though that users must match the reference file that was used for mapping program such as bwa with others variation calling program.