stage file fixes
another commit simplifying and robustifying stage file handling is ready but i've help it back for the moment since it no doubt conflicts with MR #91 (tidy lock acquisition) due to change locality.
another commit simplifying and robustifying stage file handling is ready but i've help it back for the moment since it no doubt conflicts with MR #91 (tidy lock acquisition) due to change locality.