Change how we interact with the temp  so older perls can still use us
v1.131730

    Switch away from treating $fh as an IO::Handle so 5.8.9 works