'It was an incredibly fraught experience': David S. Goyer on making the troubled Blade: Trinity