Fixed PHP-385: GridFS::storeFile with a string argument for 2Gb files

ftell() returns long, not int :)
Don't really want to make a 2gb testfile for this and creating one
on-the-fly would be really annoying and unexpected memory usage and
requirement from the test suite
Fixed CS in new code.
Merged pull request #277