Don't allocate PlainFile instances on the stack.

Summary: All ResourceDatas must be smart-allocated.

Reviewed By: @jdelong, @​bnell

Differential Revision: D1753418