Downloads - use sysopen instead of hacks with open
Downloads - fix FSM issue
Downloads - close file after request
Downloads - fix tests
Downloads - implement via templ file
Bug fixed mtime() function after file download was not called with binaryfilename()