# issue #16755 import mfiles from mhandles import FD #import handles <- do this and it works let wr = newFile(FD -1) close wr