wouldn't `open(absolute_path, 'wb')` be safer?