Fixed leaking temporary files, and a race condition when uploading many small files.
Updated README with required PHP version.