Use threading function in WP8 FromStream

As suggested by @totallyeviljake in #2307