fixup lua writer path