Bug fix for set_max_file_size method