provide tempfile for matplotlib

make mz more deployable...