Synced with justinfx/MayaSublime and added support for __file__