Fixed texture tool so it deletes intermediate files 

This was causing issues before since left-over files from previous
users would cause the current user to not copy the proper file.