Don't escape single quotes.
Don't allow the BufferedInputStream to call #available on the underlying pipe stream.
[PLAT-2286, PLAT-3044] Restore behaviour to pre-2286 state until 3044 is dealt with.
Changes advised by Elaine. Curves were being retrieved from the bundle as e.g. "Forward6M" but being added as e.g. "Forward6M_USD" and exceptions being thrown.