phonegap: fix incorrect file extension