Reintroduced PHP file streaming, Java version is unstable