Refactor frametools.plotframe to not read from disk.

Allow plotting from memory by introducing a lower level
function plot_frame that doesn't try to read from disk.

Note that plotframe should be renamed since it also reads the frame.