Fix remote file functional tests for ruby < 1.9.3