reporting: fix bug causing directory to be ignored if figname option was passed to addGraph
reporting: fix name of file
reporting: table.write: get length only once
reporting: extract tables into individual files for easy inclusion by user in their paper