Added a /proc write function for testing.