Add fatal_trace which prints a stack trace
Use cgen_var_lvalue for all OUT and INOUT parameters
Fix a crash with unconstrained signal arrays
Only call cgen_promote_arith on integer arguments
Missing _file_write kernel function