Correct update .json filename generated for 'en-US' locale

This fix needed (on Windows) to correct the .json filename generated by the code added in Pull Request #7749.