Remove trailing space after "_extension

getExtension not work, this fix issue
Merge pull request #2847 from DangelZM/patch-2

Remove trailing space after "_extension