rename file for phonegap