Use long rather than int for max file size variable
Merge branch 'fix-filesize-parameter-type'