Prevent segfault while scanning for MP3 files

Make sure the destination string is NULL-terminated when building the uppercase extension in to_upper. The tmp_ext_u array is uninitialized when it's passed to this function.