[BUGFIX] Be more intelligent about only stripping true file extensions off filenames for playback on Asterisk 

Fixes adhearsion/adhearsion#482