Resolve file name and silent write.

This fixes symlink issues on OS X for /var and /private/var
It also stops vim.command('w!') from blocking.
Merge pull request #67 from Floobits/bug/66/fix_osx_test

Resolve file name and silent write.