Add filesize fallback for large files and 32bit PHP.
Change doctype 5 to doctype html.
Merge remote-tracking branch 'lrsjng/develop' into develop