Asserting that data to be written is string like

Summary: Asserting that data to be written is string like.

Test Plan: Passing non string like data to the Filesystem::writefile() function to see if the appropriate error message is displayed

Reviewers: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4995