Added updateFileSnapshot method to update a cached files contents

Corrected and issue where typescript watch detected that a file had changed but did not actually go out and get the new contents and kept using the cached data.