@HughWilliams-2457 I have tried to reproduce the issue at my end and couldn't reproduce the issue with the Sharepoint connector Create File action.
Can you share more details on the workflow and how you are passing the fileName with extension and file Content. There might be an issue that the extension that you have used opens it where the format is not supported.