Simplified sendfile and recvfile, added a test, bump to version 1.2