Fix whitespace
Dispose of stream reader and writer