issue #1687: Marmalade port works ok.
Refactored CCFileUtils for Blackberry port.