Optimizes split to split on last occurence of "."

Optimizes split to allow read from "plugin.xxx"