fix cabal file indenting
more flexible readSync that takes a pointer to write to instead of returning an array