Implements suffix argument to File::basename

I just can't  see why I'm getting this error while testing:
```
E               SystemError: 'suffix' not implemented
```
Can someone please enlighten me?