[PD] midi write bad file desciptor