a wrapper to set a file's size, using SetFileValidData if possible