fileProvider: fix bug with find handle not being released on certain occasions, and increase buffer for file copying (didn't fix system crash on certain files).