scripts: fix extension in file copy for build