Print file name and line number in codedump if available.
Use int32_t as line variable type.
Merge pull request #2147 from take-cheeze/dump_line_file

Print file name and line number in codedump if available.