Used traceback module to set name of theano.function to file_name:line_number.

Should be ``if name is None``