This will gracefully handle errors that prevent the file translation by simply copying the file if they occur. This allows the build to proceed and the logs to contain the error.