It's redundant to change directories to ::File.dirname(src_filepath) and then to tell tar to extract to ::File.dirname(src_filepath).