fixup! Turned output filename into a classvar

Added a missing newline
Fixed possible NullPinterException in visitIfStatement

"Else" statements are optional, so visiting them without a null check can cause a NullPointerException