minor improvements to fgen

still need to fix keithleys, and oscilloscope file append