Change determination extension associated files

Normally determine extension by finding first . approaching from right.
For associated files use length of media_file basename to
determine the extension (approach from left).

Enables renaming of built-in Sony PS3 Metadata: filename.ext.cover.jpg

Also usefull for multi-language subtitles: filename.en.srt, filename.nl.srt