file.py: fixed call to log_stack_trace()

I'm an idiot, I forgot that I changed the signature