Extend file plugin to support methods that return Streams

The WindowsPhone and WindowsStore implementations need further review.