Restruct mintty files