Replace createTempFile with standard File creation.