cleanup of copy_file_to_socket
Merge branch 'lua52' of github.com:splay-project/splay into lua52