This reverts commit 154bcec95cc207339f05dd4d62e987efb25d0366
We don't use this function anywhere, moreover
fs related functions are way beyond the reasonable
functionality of templater. Especially taking
into account that we have only 1 function.
Change-Id: I919d8466ff1eab2d2687db7055bf974b7b608d8e