gpio files fixed for write