cr50_test: fix generating the device filenames

BUG=none
TEST=run firmware_Cr50Update

Change-Id: I910c9045c664d21fc797b100cb339088ce4ddf3b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/1930056
Tested-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-by: Aadit Maheshkumar Modi <modia@chromium.org>
Commit-Queue: Mary Ruthven <mruthven@chromium.org>
diff --git a/server/cros/faft/cr50_test.py b/server/cros/faft/cr50_test.py
index 70f1488..8bc5ae9 100644
--- a/server/cros/faft/cr50_test.py
+++ b/server/cros/faft/cr50_test.py
@@ -159,7 +159,7 @@
         if not version:
             return None, None, None
         _, rw_ver, bid = version
-        rw_filename = '.'.join('cr50.device.bin', ext, rw_ver)
+        rw_filename = 'cr50.device.bin.%s.%s' % (ext, rw_ver)
         local_path = os.path.join(self.resultsdir, rw_filename)
         dut_path = cr50_utils.GetDevicePath(ext)
         self.host.get_file(dut_path, local_path)