io: Fix typos & code formatting