fix imports for gmx to use pxul.os for ensure_dir