Added proxy support for #getFilesize