Previous code would panic due to invalid type assertions (presumably due
to change of type returned by func Sub). Switching to relevant fs
interface types fixes the issue and should work going forward, even if
the type is changed.
Signed-off-by: Adam Hughes <9903835+tri-adam@users.noreply.github.com>