[TIMOB-17582] (3_4_X) Use path instead of absoluteString

Cherry Pick PR #6300 into 3_4_X

This fixes the mismatch between absoluteString and plain File path used in getFile
Test is in [JIRA](https://jira.appcelerator.org/browse/TIMOB-17582)