write with unix fileformat