[fb] Display full HDFS exception message instead of None
[core] Converting to mako python variables