truncate(1) for BSD