Issue 11299 - formattedRead does not compile without the -unittest flag

http://d.puremagic.com/issues/show_bug.cgi?id=11299

@WalterBright: This should likely be merged to the 2.064 branch.