renderTable now honors altFilename on templates

take 2 (as per issue #6 )