Refactor Derivative.create_from_master_file to populate both rtmp and hls stream details at the same time