latexsupport: Tweak perl conversion script

+ use strict / warnings
+ Use 3 argument open
+ Use lexical filehandles
+ Rename the files instead of copying them
latexsupport: Attempt to modernise {\em etc usage
astrom: SUN/5 to new latex format