Fixing an issue with relative path in yam filename

When using relative paths for YAML files (like ~/Sites/my_site/config/locales/en.yml'), they are not affected, at least on Mac OS X machines. That's because of Ruby not seeing a file within such locations.

Just to note. Personally I use relative paths because my vim configured to change the working directory to the currently opened file. So something like 'config/locales/en.yml' just doesn't work.