fabric/fabric — pull request #589 by khalas (2012-03-14 00:06:29+00:00)
Title: file.contains works with ~ in filename

Fixed #367.Similar patch to this https://github.com/fabric/fabric/commit/0bc58aa11477ecb0f6c770fbce65822dfdc52498