hopefully fixed binary save out for linux