Before copying file, explicitly remove the old one
Before copying file, explicitly remove the old one

On Windows, FileUtils.cp(path, dest_path) will fail with a Permission
Denied if the dest_path already exists and is read-only. People have
complained about this since at least 2008.

This lets `jekyll build` work without error in Windows when one or more
read-only files exist.

This change will accommodate users of Team Foundation, which uses the
read-only flag for for source control status. (dumb, I know, but but a
real problem)

QuinntyneBrown/jekyll,kinlane/jekyll,tomasdiez/jekyll,thetaxman/jekyll,supriyantomaftuh/jekyll,eloyesp/jekyll,drobati/jekyll,lazycai/lazycai.github.com,stomar/jekyll,Teino1978-Corp/jekyll,krahman/jekyll,mixxmac/jekyll,tugberkugurlu/jekyll,yhironaka/yhironaka.github.io,nasht00/jekyll,ls2uper/jekyll,zsyed91/jekyll,xiebinhqy/jklly_china,ramoslin02/jekyll,foocoder/jekyll,FlyingWHR/jekyll,tobscure/jekyll,foocoder/jekyll,martynbm/jekyll,Kinghack/kinghack.github.com,mnuessler/jekyll,LeuisKen/jekyllcn,xiebinhqy/jklly_china,jaroot32/jekyll,indraj/jekyll,foocoder/jekyll,dezon/jekyll,Teino1978-Corp/Teino1978-Corp-jekyll,martynbm/jekyll,matuzo/jekyll,Teino1978-Corp/jekyll,1gitGrey/jekyll,vcgato29/jekyll,tareq-s/jekyll,EddieDow/jekyll,dansef/jekyll,chinayin/jekyll,AtekiRyu/jekyll,thetaxman/jekyll,christophermanning/jekyll,nateberkopec/jekyll,johnnycastilho/jekyll,chrisfinazzo/jekyll,alihalabyah/jekyll,leichunxin/jekyll,naughtyboy83/jekyll,jmknoll/jekyll,hubsaysnuaa/jekyll,nateberkopec/jekyll,FlyingWHR/jekyll,alex-kovac/jekyll,richsoni/jekyll,royalwang/jekyll,EddieDow/jekyll,winndows/jekyll,marrujoalex/jekyll,chiyodad/jekyll,xiongjungit/jekyll,AnanthaRajuC/jekyll,x-way/jekyll,CheekyFE/jekyll,tillgrallert/jekyll,wentixiaogege/jekyll,x-way/jekyll,sanxore/sanxore.github.com,lazycai/lazycai.github.com,hiteshsuthar/jekyll,jmepg/jekyll,iRoxx/jekyll,thejameskyle/jekyll,imaustink/jekyll,tobscure/jekyll,shliujing/jekyll,fulldecent/jekyll,rlugojr/jekyll,drobati/jekyll,nickg33/jekyll,johnnycastilho/jekyll,mnuessler/jekyll,eninya/jekyll,eninya/jekyll,ewinkler/jekyll,chrisfinazzo/jekyll,brint/jekyll,shliujing/jekyll,goragod/jekyll,fengsmith/jekyllcn,tillgrallert/jekyll,cyberid41/jekyll,alfredxing/jekyll,bsmr-ruby/jekyll,tillgrallert/jekyll,hartmel/jekyll,tomjohnson1492/jekyll,vcgato29/jekyll,pmarsceill/jekyll,ajhit406/jekyll,christophermanning/jekyll,fulldecent/jekyll,sideci-sample/sideci-sample-jekyll,Strangehill/jekyll,Kinghack/kinghack.github.com,trungvothanh/jekyll,tugberkugurlu/jekyll,matuzo/jekyll,tareq-s/jekyll,abhilashhb/jekyll,tugberkugurlu/jekyll,julienbourdeau/jekyll,SQS2/Test,AaronSikes/jekyll,gencer/jekyll,chiyodad/jekyll,garvitr/jekyll,jaybe-jekyll/jekyll,brint/jekyll,hartmel/jekyll,alex-kovac/jekyll,drobati/jekyll,ryanshaw/jekyll,darwin/jekyll,chinayin/jekyll,rebornix/jekyll,winndows/jekyll,indraj/jekyll,pmarsceill/jekyll,ajhit406/jekyll,omeripek/jekyll,wentixiaogege/jekyll,wadaries/jekyll,thejameskyle/jekyll,johnnycastilho/jekyll,rajrathore/jekyll,penchan1218/jekyllcn,AtekiRyu/jekyll,sasongkojati/jekyll,liukaijv/jekyll,schaazzz/jekyll,jmptrader/jekyll,abhilashhb/jekyll,dangaute/eng,pmarsceill/jekyll,honger05/jekyllcn,stevecrozz/jekyll,fengsmith/jekyllcn,thejameskyle/jekyll,x-way/jekyll,rovrevik/jekyll,gaosboy/jekyll,angeliaz/jekyll,LuoPX-15510486969/jekyll,xtymichael/jekyll,jmknoll/jekyll,nasht00/jekyll,dansef/jekyll,floydpraveen/jekyll,jmptrader/jekyll,ramoslin02/jekyll,getandpost/jekyll.github.io,Tiger66639/jekyll,zhangkuaiji/jekyllcn,gencer/jekyll,adilapapaya/jekyll,krahman/jekyll,jaybe-jekyll/jekyll,Tiger66639/jekyll,jmepg/jekyll,mrb/jekyll,oresmus/jekyll,zhangkuaiji/jekyllcn,chrisfinazzo/jekyll,likong/jekyll,jeffkole/jekyll,stomar/jekyll,matuzo/jekyll,krishnakalyan3/jekyll,isathish/jekyll,bsmr-ruby/jekyll,oresmus/jekyll,tillgrallert/jekyll,greent2008/jekyll,tareq-s/jekyll,nasht00/jekyll,royalwang/jekyll,larryfox/jekyll,EddieDow/jekyll,xiaoshaozi52/jekyll,MjAbuz/jekyll,saitodisse/jekyll,adilapapaya/jekyll,ReachingOut/jekyll,trungvothanh/jekyll,mrb/jekyll,martynbm/jekyll,nateberkopec/jekyll,alihalabyah/jekyll,gynter/jekyll,Strangehill/jekyll,shuber2/jekyll,jekyll/jekyll,Wirachmat/jekyll,yihangho/jekyll,xantage/jekyll,gkunwar/gkunwar.github.io,angeliaz/jekyll,backendeveloper/jekyll,schaazzz/jekyll,xcatliu/jekyllcn,gencer/jekyll,jeffkole/jekyll,pheuko/jekyll,Tyrion22/jekyll,nathanhorrigan1/webdeveloper,ryanshaw/jekyll,Teino1978-Corp/jekyll,ducktyper/jekyll,kuangyeheng/jekyll,AaronSikes/jekyll,nasht00/jekyll,digideskio/jekyll,derekgottlieb/jekyll,krishnakalyan3/jekyll,isathish/jekyll,LeuisKen/jekyllcn,PepSalehi/jekyll,CPVPLachlan/CPVP-Blog,noikiy/jekyll,LuoPX-15510486969/jekyll,pmarsceill/jekyll,jmknoll/jekyll,honger05/jekyllcn,doubleday/jekyll,adilapapaya/jekyll,fengsmith/jekyll,derekgottlieb/jekyll,gencer/jekyll,richsoni/jekyll,gynter/jekyll,SQS2/Test,CPVPLachlan/CPVP-Blog,gaosboy/jekyll,18F/jekyll,dangaute/eng,shliujing/jekyll,vidbina/jekyll,sasongkojati/jekyll,derekgottlieb/jekyll,eloyesp/jekyll,harrissoerja/jekyll,angeliaz/jekyll,xiaoshaozi52/jekyll,Wirachmat/jekyll,floydpraveen/jekyll,ZDroid/jekyll,dezon/jekyll,Strangehill/jekyll,gkunwar/gkunwar.github.io,teju111/jekyll,jmhardison/jekyll,alfredxing/jekyll,ducktyper/jekyll,schaazzz/jekyll,winndows/jekyll,xcatliu/jekyllcn,ReachingOut/jekyll,jaybe-jekyll/jekyll,trungvothanh/jekyll,harrissoerja/jekyll,akoeplinger/jekyll,anthonyrosengren/grasshoppergathering2.github-io,daniel-beck/jekyll,ajhit406/jekyll,jekyll/jekyll,vidbina/jekyll,naughtyboy83/jekyll,jmptrader/jekyll,princeofdarkness76/jekyll,doubleday/jekyll,nickg33/jekyll,jaroot32/jekyll,xantage/jekyll,aarvay/jekyll,nemotan/jekyll,MauroMrod/jekyll,greent2008/jekyll,ZDroid/jekyll,noikiy/jekyll,SQS2/Test,tamouse/jekyll,rlugojr/jekyll,gynter/jekyll,chiyodad/jekyll,tomasdiez/jekyll,supriyantomaftuh/jekyll,gkunwar/gkunwar.github.io,stomar/jekyll,mrb/jekyll,nemotan/jekyll,julienbourdeau/jekyll,royalwang/jekyll,sanxore/sanxore.github.com,18F/jekyll,zsyed91/jekyll,ryanshaw/jekyll,marrujoalex/jekyll,goragod/jekyll,cyberid41/jekyll,floydpraveen/jekyll,ewinkler/jekyll,xcatliu/jekyllcn,UniFreak/jekyllcn,tamouse/jekyll,1gitGrey/jekyll,ZainRizvi/jekyll,nathanhorrigan1/webdeveloper,LeuisKen/jekyllcn,teju111/jekyll,Wirachmat/jekyll,tillgrallert/jekyll,aarvay/jekyll,rasa2011/rasa2011.github.io,saitodisse/jekyll,CorainChicago/jekyll,nemotan/jekyll,honger05/jekyllcn,mrb/jekyll,isathish/jekyll,fabulousu/jekyll,jmhardison/jekyll,vidbina/jekyll,chinayin/jekyll,xtymichael/jekyll,x-way/jekyll,saitodisse/jekyll,Strangehill/jekyll,QuinntyneBrown/jekyll,eloyesp/jekyll,penchan1218/jekyllcn,ewinkler/jekyll,pheuko/jekyll,jmepg/jekyll,christophermanning/jekyll,rongl/jekyll,0x00evil/jekyll,ducktyper/jekyll,ls2uper/jekyll,xcatliu/jekyllcn,jeffkole/jekyll,hiteshsuthar/jekyll,fabulousu/jekyll,princeofdarkness76/jekyll,gencer/jekyll,bsmr-ruby/jekyll,sanxore/sanxore.github.com,floydpraveen/jekyll,ReachingOut/jekyll,xiebinhqy/jklly_china,AaronSikes/jekyll,dezon/jekyll,tomjohnson1492/jekyll,Strangehill/jekyll,doubleday/jekyll,wadaries/jekyll,anthonyrosengren/grasshoppergathering2.github-io,m2candre/jekyll,superve/jekyll,julienbourdeau/jekyll,darwin/jekyll,codeclimate-testing/jekyll,fengsmith/jekyllcn,kuangyeheng/jekyll,mixxmac/jekyll,xantage/jekyll,htmelvis/jekyll,tylermachen/jekyll,rongl/jekyll,ls2uper/jekyll,alihalabyah/jekyll,ajhit406/jekyll,desidude03/jekyll,fengsmith/jekyll,stevecrozz/jekyll,stevecrozz/jekyll,MauroMrod/jekyll,jeffkole/jekyll,indraj/jekyll,rajrathore/jekyll,shuber2/jekyll,vcgato29/jekyll,dansef/jekyll,xtymichael/jekyll,greent2008/jekyll,wadaries/jekyll,desidude03/jekyll,MauroMrod/jekyll,kimeng/jekyll,fabulousu/jekyll,egobrightan/jekyll,Kinghack/kinghack.github.com,larryfox/jekyll,codeclimate-testing/jekyll,jekyll/jekyll,chrisfinazzo/jekyll,xiongjungit/jekyll,fulldecent/jekyll,nickg33/jekyll,0x00evil/jekyll,htmelvis/jekyll,rlugojr/jekyll,UniFreak/jekyllcn,backendeveloper/jekyll,rebornix/jekyll,fengsmith/jekyll,18F/jekyll,princeofdarkness76/jekyll,oresmus/jekyll,MjAbuz/jekyll,digideskio/jekyll,alex-kovac/jekyll,naughtyboy83/jekyll,Teino1978-Corp/Teino1978-Corp-jekyll,rovrevik/jekyll,Tyrion22/jekyll,leichunxin/jekyll,getandpost/jekyll.github.io,hubsaysnuaa/jekyll,tamouse/jekyll,FlyingWHR/jekyll,tylermachen/jekyll,liukaijv/jekyll,jaroot32/jekyll,penchan1218/jekyllcn,jekyll/jekyll,tomasdiez/jekyll,rebornix/jekyll,xiaoshaozi52/jekyll,hiteshsuthar/jekyll,AtekiRyu/jekyll,supriyantomaftuh/jekyll,superve/jekyll,CorainChicago/jekyll,m2candre/jekyll,harrissoerja/jekyll,sideci-sample/sideci-sample-jekyll,hubsaysnuaa/jekyll,gaosboy/jekyll,ZainRizvi/jekyll,noikiy/jekyll,zhangkuaiji/jekyllcn,imaustink/jekyll,brint/jekyll,krishnakalyan3/jekyll,daniel-beck/jekyll,rasa2011/rasa2011.github.io,krahman/jekyll,nathanhorrigan1/webdeveloper,AnanthaRajuC/jekyll,superve/jekyll,ZainRizvi/jekyll,dangaute/eng,likong/jekyll,mnuessler/jekyll,yihangho/jekyll,pheuko/jekyll,QuinntyneBrown/jekyll,marrujoalex/jekyll,tomjohnson1492/jekyll,imaustink/jekyll,kuangyeheng/jekyll,m2candre/jekyll,CheekyFE/jekyll,akoeplinger/jekyll,zsyed91/jekyll,xiongjungit/jekyll,rlugojr/jekyll,howkj1/jekyll,eninya/jekyll,getandpost/jekyll.github.io,iRoxx/jekyll,desidude03/jekyll,abhilashhb/jekyll,alfredxing/jekyll,fulldecent/jekyll,omeripek/jekyll,ryanshaw/jekyll,noikiy/jekyll,tylermachen/jekyll,kimeng/jekyll,omeripek/jekyll,rongl/jekyll,Teino1978-Corp/Teino1978-Corp-jekyll,PepSalehi/jekyll,backendeveloper/jekyll,garvitr/jekyll,Tyrion22/jekyll,xiebinhqy/jklly_china,0x00evil/jekyll,Tiger66639/jekyll,tobscure/jekyll,UniFreak/jekyllcn,LuoPX-15510486969/jekyll,daniel-beck/jekyll,ZDroid/jekyll,teju111/jekyll,derekgottlieb/jekyll,mixxmac/jekyll,rajrathore/jekyll,lazycai/lazycai.github.com,CheekyFE/jekyll,ramoslin02/jekyll,alfredxing/jekyll,alex-kovac/jekyll,sasongkojati/jekyll,digideskio/jekyll,CPVPLachlan/CPVP-Blog,tomjohnson1492/jekyll,CorainChicago/jekyll,thetaxman/jekyll,howkj1/jekyll,howkj1/jekyll,jaybe-jekyll/jekyll,wentixiaogege/jekyll,htmelvis/jekyll,aarvay/jekyll,likong/jekyll,bsmr-ruby/jekyll,monxim/monxim.github.io,brint/jekyll,darwin/jekyll,hartmel/jekyll,egobrightan/jekyll,liukaijv/jekyll,MjAbuz/jekyll,lazycai/lazycai.github.com,AnanthaRajuC/jekyll,larryfox/jekyll,stomar/jekyll,anthonyrosengren/grasshoppergathering2.github-io,egobrightan/jekyll,cyberid41/jekyll,zsyed91/jekyll,yihangho/jekyll,goragod/jekyll,richsoni/jekyll,PepSalehi/jekyll,kimeng/jekyll,monxim/monxim.github.io,rasa2011/rasa2011.github.io,kinlane/jekyll,rovrevik/jekyll,darwin/jekyll,princeofdarkness76/jekyll,leichunxin/jekyll,alex-kovac/jekyll,codeclimate-testing/jekyll,iRoxx/jekyll,shuber2/jekyll,jmhardison/jekyll,garvitr/jekyll,tomjohnson1492/jekyll