Fixed a stupid bug when making backup copies of files