fixes find call in set file props method to use be compiled by bash