remove trailing empty lines from cabal file